|
|
|
| |
|
|
|
|
Experimentation is encouraged. In addition to the preceding list, Visual Basic includes some not-so-obvious tricks such as Ctrl+Y (to delete a line of code), which is apparently an homage to WordStar. |
|
|
|
|
|
|
|
|
|
|
Accessing Functions with the Toolbars |
|
|
|
|
|
|
|
|
Visual Basic's toolbars provide you with quick access to some of the functions you will use most often. Four toolbars are available (see Figure A.3): |
|
|
|
|
|
|
|
|
Standard. The Standard toolbar is displayed by default and offers quick access to frequently used functions. |
|
|
|
|
|
|
|
|
Debug. The Debug toolbar has buttons for use when you're debugging your programs. |
|
|
|
|
|
|
|
|
Edit. The Edit toolbar's buttons are handy when you're writing code. |
|
|
|
|
|
|
|
|
Form Editor. The Form Editor toolbar contains buttons that help you tweak the appearance of controls on your forms. |
|
|
|
|
|
|
|
|
Figure A.3
Visual Basic's Standard toolbar is docked below the menu bar; the other toolbars are
floating on the desktop. You can modify the toolbars by using the Customize dialog box. |
|
|
|
|
|
|
|
|
The Standard toolbar is the only one displayed the first time you start Visual Basic. You can specify which toolbars are displayed by choosing View, Toolbars or by right-clicking any visible toolbar. Any of them can be free-floating or "docked" just below the menu bar; their startup positions will be the same as the last time you exited Visual Basic. Choosing View, Toolbars, Customize allows you to modify the existing toolbars, or even create your own. |
|
|
|
|
|
|
|
|
Visual Basic's toolbars follow the standard used by the latest generation of programs in that they provide you with ToolTips. A ToolTip is a little yellow box that pops up if you let the mouse pointer hover over a button for a few seconds; it contains a description of the underlying button's function. |
|
|
|
|
|